package com.wf.course.model.course;

import org.springframework.web.multipart.MultipartFile;

/**
 * 课程评论
 * 对应表：wf_course_comment
 */
public class CourseComment {
	
	private Integer  id;//评论表自增主键
	  private Integer userId;//评论人id
	  private Integer nickName;//评论人昵称
	  private Integer commentType; //评论类型
	  private String commentContent;//评论内容
 	  private String commentTime;//点赞或评论时间
	  private String remark;//备注说明
	  private Integer rec_flag;//是否推荐（1是2否）
	  private String reply;//后台回复
	  private String reply_time;//后台回复时间
	  private Integer isTop;//是否置顶1是 2不是（默认2）
	  
	  
	  private String userName; //评论人
	  private String chapterName; //章节名称
	  private String chapterId; //章节编号
	  private String commentImage;
	  private String replyImage;
	  private MultipartFile replyFile;

	public Integer getCommentType() {
		return commentType;
	}
	public void setCommentType(Integer commentType) {
		this.commentType = commentType;
	}
	public String getChapterId() {
		return chapterId;
	}
	public void setChapterId(String chapterId) {
		this.chapterId = chapterId;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getNickName() {
		return nickName;
	}
	public void setNickName(Integer nickName) {
		this.nickName = nickName;
	}
	public Integer getUserId() {
		return userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getChapterName() {
		return chapterName;
	}
	public void setChapterName(String chapterName) {
		this.chapterName = chapterName;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
 
	public String getCommentTime() {
		return commentTime;
	}
	public void setCommentTime(String commentTime) {
		this.commentTime = commentTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getRec_flag() {
		return rec_flag;
	}
	public void setRec_flag(Integer rec_flag) {
		this.rec_flag = rec_flag;
	}
	public String getReply() {
		return reply;
	}
	public void setReply(String reply) {
		this.reply = reply;
	}
	public String getReply_time() {
		return reply_time;
	}
	public void setReply_time(String reply_time) {
		this.reply_time = reply_time;
	}
	public Integer getIsTop() {
		return isTop;
	}
	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}
	@Override
	public String toString() {
		return "CourseComment [id=" + id + ", userId=" + userId + ", commentContent=" + commentContent + ",    commentTime=" + commentTime + ", remark=" + remark + ", userName=" + userName
				+ ", chapterName=" + chapterName + ", chapterId=" + chapterId + "]";
	}

	public String getCommentImage() {
		return commentImage;
	}

	public void setCommentImage(String commentImage) {
		this.commentImage = commentImage;
	}

	public String getReplyImage() {
		return replyImage;
	}

	public void setReplyImage(String replyImage) {
		this.replyImage = replyImage;
	}

	public MultipartFile getReplyFile() {
		return replyFile;
	}

	public void setReplyFile(MultipartFile replyFile) {
		this.replyFile = replyFile;
	}
}
